package com.dg11185.nearshop.app;

import android.os.Build;

public class Constants {

    public static final String AREA_PARENT_ID = "249";    //获取镇区编号
    
    public static final String AREA_NUM = "0001900017";   // 获取商家默认地区编号

    public static final int DEFAULT_RADIUS = 1000000000; // 获取商家列表传递的默认半径

    // 标题大小
    public final static int TITLE_FONT_SIZE = 19;

    public final static String TOKEN = "yaoyao";

    /** SharedPreferences相关常量 */
    public final static String preferences_system_setting = "dg11185_nearshop_system_setting";// preference表名

    public final static String is_open_the_voice = "is_open_the_voice"; // 是否打开应用声音

    public final static String is_get_push_news = "is_get_latest_news"; // 是否获取最新消息

    /***/
    public final static String FORMAL_ADD = "http://yaoyao.ichsh.com.cn/";

    public final static String TEST_ADD = "http://192.183.3.189:8080/yaoyao/";

    public final static String TEST_ADD1 = "http://192.183.3.153:8080/yaoyao/";

    public final static String ADDRESS = TEST_ADD;

    public final static String version = "android" + Build.VERSION.SDK_INT;

    public final static String MD5_key = "c^&*h2014s05h15!+_)p$#$@125p";

    // 活动模块接口常量
    public final static String getActivityList = "merchant/getActivityList";

    public final static String myActivityRecordList = "merchant/myActivityRecordList";

    // 会员模块接口常量
    public final static String checkUserName = "member/checkUserName";

    public final static String checkMobilePhone = "member/checkMobilePhone";

    public final static String checkEmail = "member/checkEmail";

    public final static String sendSmsRegCode = "member/sendSmsRegCode";

    public final static String sendSmsResetCode = "member/sendSmsResetCode";

    public final static String regByMobilePhone = "member/regByMobilePhone";

    public final static String getDetail = "member/getDetail";

    public final static String login = "member/login";

    public final static String modifySignature = "member/modifySignature";

    public final static String modifyHeadPhoto = "member/modifyHeadPhoto";

    public final static String modifyDetail = "member/modifyDetail";

    public final static String modifyPwd = "member/modifyPwd";

    public final static String resetPwd = "member/resetPwd";

    public final static String getJobType = "member/getJobType";

    public final static String upload = "member/upload";

    // 会员卡模块接口常量
    public final static String getList = "memCard/getList";

    public final static String activable = "memCard/activable";

    public final static String active = "memCard/active";

    public final static String add = "memCard/add";

    // 会员积分模块接口常量
    public final static String getMyPoints = "memPoints/getMyPoints";

    // 用户行为接口
    public final static String behaviorLike = "behavior/like"; // 用户点赞行为

    public final static String behaviorCancelLike = "behavior/cancelLike"; // 用户取消点赞行为

    public final static String behaviorFavor = "behavior/favor"; // 用户收藏行为

    public final static String behaviorCancelFavor = "behavior/cancelFavor"; // 用户取消收藏行为

    public final static String myBehavior = "behavior/myBehavior"; // 我的行为(点赞收藏)

    public final static String myFavorList = "behavior/myFavorList"; // 我的收藏

    public final static String getFavorList = "behavior/getFavorList";// 我的收藏(商家列表)

    public final static String behaviorLoginLog = "behavior/loginLog";// 登录日志记录

    public final static String behaviorAccessLog = "behavior/accessLog";// 访问日志记录

    // 商家部分接口
    public final static String getMerchantInfo = "merchant/getMerchantInfo";// 获取商家信息

    public final static String getMerchantStats = "merchant/getMerchantStats";// 获取商家统计信息

    public final static String getMerchantList = "merchant/getMerchantList";// 获取商家列表

    public final static String getDayMerList = "merchant/getDayMerList";// 获取特惠日商家列表

    public final static String getBrandList = "merchant/getBrandList";// 获取品牌（连锁商家）列表

    public final static String getIndustryList = "merchant/getIndustryList";// 获取行业列表

    public final static String getPhotoList = "merchant/getPhotoList";// 获取商家图片列表

    public final static String getMerchantCommentList = "merchant/getMerchantCommentList";// 获取商家主评论

    public final static String getReplyCommentLis = "merchant/getReplyCommentList";// 获取主评论的回复

    public final static String commentMerchant = "merchant/commentMerchant";// 评论商家（发布主评论）

    public final static String replyComment = "merchant/replyComment";// 回复评论

    public final static String countByArea = "merchant/count";

    public final static String getProvinceList = "common/getProvinceList"; // 获取省份

    public final static String getAreaList = "common/getAreaList"; // 获取市区

    // 第三方API常量
    public final static String UM_APP_KEY = "536074bc56240b823b00714a";

    public static String dataNearMerchantListString = "map_nearmerchant_list_data"; // 传递接口数据商家列表显示地图

    // 自动更新接口
    public static String getLatest = "version/getLatest";

    // Preferences的key名
    public final static String ISAUTOLOGIN = "isAutoLogin";// 自动登录

    public final static String ACCTOUNT = "account";// 账户名

    public final static String PASSWORD = "password";// 密码

    public final static String REMPASSWD = "remPasswd";// 记住密码

    public final static String SEARCH_HIS = "searchHistory";// 搜索历史

    public final static String HOME_P_REFRESH_TIME = "homeRefreshTime";// 首页刷新时间

    public final static String DAY_SHOPS_REFRESH_TIME = "dayShopsRefreshTime";// 所有特惠日商家界面刷新时间

    // 以下两个常量作为Activity之间传递值的key
    public final static String USER_ID = "userId";// 会员ID

    public final static String LOGIN_NAME = "loginName";// 会员登录名
}
